
<div class='clearfix'>
 <table width="100%" cellpadding="0" cellspacing="0" class="liststyle data">
            <col class="span-auto ColColorGray"></col>
            <col class="span-4 ColColorOrange textright"></col>
      <tr>
        <th><{t}>商品总价格：<{/t}></th>
        <td value="<{$trading.pmt_b.totalPrice}>" class="price"><{$trading.pmt_b.totalPrice|cur}></td>
      </tr>
      <{if $trading.shipping_id}>
      <tr>
        <th><{t}>配送费用：<{/t}></th>
        <td><{$trading.cost_freight|cur}></td>
      </tr>
      <{/if}>
      <{if $trading.is_protect}>
      <tr>
        <th><{t}>配送保价费：<{/t}></th>
        <td><{$trading.cost_protect|cur}></td>
      </tr>
      <{/if}>
      <{if $trading.cost_payment}>
      <tr>
        <th><{t}>支付费率：(客户承担支付手续费)<{/t}></th>
        <td><{$trading.cost_payment|cur}></td>
      </tr>
      <{/if}>
      
          <{if  count($trading.pmt_o.list)>0 || count($trading.gift_p)>0 || count($trading.coupon_p)>0}>
            <{if count($trading.pmt_o.list)>0}>
              <tr>
                <th><{t}>享受的优惠：<{/t}></th>
                        <td>
                             <ol>
                    <{foreach from=$trading.pmt_o.list item=item}>
                    <li><{$item.pmt_describe}></li>
                    <{/foreach}>
                            </ol>
                </td>
              </tr>
                    <{/if}>
                    <{if count($trading.gift_p)>0}>
                    <tr>
                      <th><{t}>获得赠品：<{/t}></th>
                      <td>
                      <ol>
                      <{foreach from=$trading.gift_p item="item" key="key"}>
                  <li <{if $item.storage==0}>class="mktprice1"<{/if}>><{$item.name}> <{$item.nums}><{t}> 件&nbsp;&nbsp;<{/t}><{if $item.storage==0}>（无货）<{/if}></li>
                <{/foreach}>
                        </ol>
                        </td>
                    </tr>
                    <{/if}>
                    <{if count($trading.coupon_p)>0}>
                    <tr>
                      <th><{t}>获得优惠券：<{/t}></th>
                      <td>
                      <ol>
                          <{foreach from=$trading.coupon_p item="item" key="key"}>
                          <li><{$item.cpns_name}> <{$item.nums}><{t}> 张<{/t}></li>
                          <{/foreach}>
                      </ol></td>
                    </tr>
                <{/if}>
            <{/if}>
      
      <{if $trading.pmt_amount}>
      <tr>
        <th><{t}>优惠金额：<{/t}></th>
        <td style="color:#f00;">-<{$trading.pmt_amount|cur}></td>
      </tr>
      <{/if}>
      <{if $trading.discount != 0}>
      <tr>
        <th><{t}>订单减免：<{/t}></th>
        <td style="color:#f00;"><{if $trading.discount>0}>-<{$trading.discount|cur}><{else}>+<{0-$trading.discount|cur}><{/if}></td>
      </tr>
      <{/if}>
      <{if $trading.totalConsumeScore}>
      <tr>
        <th><{t}>抵扣积分：<{/t}></th>
        <td style="color:#f00;"><{$trading.totalConsumeScore}></td>
      </tr>
      <{/if}>
    <{if $trading.cur_code != '' && $trading.cur_code != $trading.cur_display}>
    <tr>
    <th><{t}>货币汇率:<{/t}></th>
    <td><{$trading.cur_rate}></td>
    </tr>
    <tr>
    <th><{t}>货币结算金额:<{/t}></th>
    <td><{$trading.final_amount|amount:$trading.cur_code:false:false:true}></td>
    </tr>
    <{/if}>
    <{if $trading.cost_tax>0}>
    <tr>
       <th>开发票所需税金：</th>
       <td><{$trading.cost_tax|cur}></td>
    </tr>
    <{/if}>
      <tr>
        <th><{t}>订单总金额：<{/t}></th>
        <td><span class="price1"><{$trading.total_amount|amount}></span>
		<br>
		<{if $trading.is_tax == '1'}>
		      是否需要发票?(<{t}>税金:<{/t}><strong><{$trading.tax_rate*100}>%</strong>)<input type="checkbox" id="is_tax" name="payment[is_tax]" onclick="Order.updateTotal()" <{if $trading.tax_checked}>checked=checked<{/if}> value="true">
		      <p id='tax_company'> 发票抬头：<input type="text" name="payment[tax_company]" class="inputstyle" ></p>
		      <script>
		         $('is_tax').addEvent('click',function(){
		               $('tax_company').setStyle('visibility',this.checked?'visible':'hidden');
		         }).fireEvent('click');
		      </script>
		   <{/if}>
		
		</td>
      </tr>

     <{if ($trading.totalGainScore<>0) or ($trading.totalConsumeScore<>0)}> 
     <{if $trading.totalConsumeScore}>
      <tr>
        <th><{t}>此订单的消费积分数：<{/t}></th>
        <td style="color:#f00;"><{$trading.totalConsumeScore}></td>
      </tr>
      <{/if}>
         <{if $trading.receiver.member_id}>
         <tr>
           <th><{t}>此订单数获得积分：<{/t}></th>
           <td><{$trading.totalScore}></td>
         </tr>  
         <tr>
           <th><{t}>您的积分总计：<{/t}></th>
           <td><{$trading.history_GainScore}></td>
         </tr> 
	    <{/if}>
      <{/if}>
   <{if count($trading.coupon_u)>0}>      
      <tr>
        <th><{t}>使用的优惠券：<{/t}></th>
        <td><ol><{foreach from=$trading.coupon_u item="item" key="key"}><li><{$key}></li><{/foreach}></ol></td>
      </tr>         
   <{/if}>  
         
    </table>


</div>
